/* 
* @Author: obsidian
* @Date:   2015-12-13 22:08:13
* @Last Modified by:   obsidian
* @Last Modified time: 2015-12-19 09:10:51
*/
#ifndef LEDBOARD_H

struct Ledboard
{
    void                  (*init)();
    float					offset;
    float                 ratio;
    unsigned short        status;
    unsigned short        counter;
    unsigned char         change_flag0;
    unsigned char         change_flag1;
    float                 (*getdiserr)();
    void                  (*calibrate)();
    void                  (*change_threshold)(unsigned char id);
	void 				  (*clear)();
};



extern struct Ledboard ledboard;


#define LEDBOARD_H
#endif
